package com.vasthu.api.domain;

import com.vasthu.gui.VstTableItemSelectable;

public class Role implements VstTableItemSelectable {

    private int roleId;
    private String roleName;
    private String roleDescription;
    private int status;

    public int getRoleId() {
        return roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public String getRoleDescription() {
        return roleDescription;
    }

    public int getRoleStatus() {
        return status;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setRoleDescription(String roleDescription) {
        this.roleDescription = roleDescription;
    }

    public void setRoleStatus(int status) {
        this.status = status;
    }

    public Object getValue(int col) {
        switch (col) {
            case 0:
                return getRoleName();
            case 1:
                return getRoleDescription();
            default:
                return new String("");
        }
    }
}